package com.read.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2022-11-08 15:50:53
 */
@Data
@TableName("order")
public class Order implements Serializable {
    private static final long serialVersionUID = -76809842024953531L;
    /**
     * 订单id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @TableField("order_id")
    private String orderId;
    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;
    /**
     * 图书id
     */
    @TableField("book_id")
    private String bookId;
    /**
     * 金额
     */
    @TableField("order_pay")
    private String orderPay;
    /**
     * 支付时间
     */
    @TableField("create_time")
    private Date createTime;




}

